package eu.telecom_bretagne.RECRUT.service;

import java.util.List;

import javax.ejb.Remote;

import eu.telecom_bretagne.RECRUT.data.model.Employe;

@Remote
public interface IServiceEmploye {
	
	public static final String JNDI_NAME = "java:global/RECRUT_EAR/RECRUT_EJB/ServiceEmploye!eu.telecom_bretagne.RECRUT.service.IServiceEmploye";
	
	public List<Employe> listeEmployes();
	
	public Employe lireEmploye (int id);
	
	public void modifierEmploye (int id, String nouveauNom, String nouveauPrenom, String nouveauType, String nouveauDepartement);
	
	public Employe creerEmploye (String nouveauNom, String nouveauPrenom, String type, String departement);

	void supprimerEmploye(int id);

}
